package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("profile")
public class AccountProfile {
    @TableId(value = "userid", type = IdType.INPUT)
    private String username;
    @TableField(value = "favcategory")
    private String favouriteCategoryId;
    @TableField(value = "langpref")
    private String languagePreference;
    @TableField(value = "mylistopt")
    private boolean listOption;
    @TableField(value = "banneropt")
    private boolean bannerOption;

    public String getUsername() {
        return username;
    }

    public void setUsername( String username ) {
        this.username = username;
    }

    public String getFavouriteCategoryId() {
        return favouriteCategoryId;
    }

    public void setFavouriteCategoryId( String favouriteCategoryId ) {
        this.favouriteCategoryId = favouriteCategoryId;
    }

    public String getLanguagePreference() {
        return languagePreference;
    }

    public void setLanguagePreference( String languagePreference ) {
        this.languagePreference = languagePreference;
    }

    public boolean isListOption() {
        return listOption;
    }

    public void setListOption( boolean listOption ) {
        this.listOption = listOption;
    }

    public boolean isBannerOption() {
        return bannerOption;
    }

    public void setBannerOption( boolean bannerOption ) {
        this.bannerOption = bannerOption;
    }
}
